package org.lvhengchang.schoolmanager.service.impl;

import org.lvhengchang.schoolmanager.bean.Admin;
import org.lvhengchang.schoolmanager.dao.AdminDao;
import org.lvhengchang.schoolmanager.service.AdminService;

public class AdminServiceImpl implements AdminService{
	private AdminDao adminDao = new AdminDao();

	@Override
	public Admin login(String username, String password) throws Exception {
		return adminDao.loginAdmin(username, password);
	}
}
